﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainFrm.Master" AutoEventWireup="true" CodeBehind="UserListByCumid.aspx.cs" Inherits="Ewts.Cumtomer.UserListByCumid" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="EwtsConext" runat="server">

<h2 id="tabtitle" runat="server">客户帐号列表</h2>
<br />
    <!--一个表单-->
<div class="shadow2">
 
 
    <table id="tbUser" class="display" cellpadding="0" cellspacing="0" border="0" style="width:100%;">
 
      <thead>
 
        <tr>
 
            <th>序号</th>
 
            <th>用户名</th>
 
            <th>使用人</th>

             <th>权限</th>
 
            <th>电话</th>
           <th>Email</th>

            <th>修改</th>
            

        </tr>
 
      </thead>
 
      <tbody>
 
    <asp:Repeater ID="reptUser" runat="server" >
  <ItemTemplate>
 
    <tr>
        
      <td><%# Container.ItemIndex + 1%></td>
       <td><%# Eval("UserName")%></td>
       <td><%# Eval("TrueName") %></td>
 
      <td><%--<%# GetAllRole(Eval("UserID"))%>--%></td>
       <td><%# Eval("Phone")%></td>
       <td><%# Eval("Email")%></td>
      <td>
       <a href='CumAccounModify.aspx?userid=<%# Eval("userid") %>'>修改</a>
       </a>

      </td>
 
    </tr>
 
  </ItemTemplate>
 
    </asp:Repeater>
  
    </tbody>
 
    </table>


</div>
    <script type="text/javascript">

        $(document).ready(function () {

            $('#tbUser').dataTable({ "oLanguage": { "sUrl": "/jquery/jquery.dataTable.cn.txt" },
                "bJQueryUI": true,
                "sPaginationType": "full_numbers",
                'bPaginate': true,
                "bProcessing": true,
                "iDisplayLength": 15,
                "bSort": true,
                "aaSorting": [[0, "asc"]]
            });

            if ($('.hidUserLev').val() != "AD") {
                $('.thLev').hide();
            }

        });
 
</script>
</asp:Content>
